home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2001 December
/
pcwk12201b.iso
/
Wersje pelne i specjalne
/
Ghostscript 7.0
/
gs700w32.exe
/
gs7.00
/
lib
/
pdfopt.bat
< prev
next >
Wrap
DOS Batch File
|
2000-05-20
|
387b
|
23 lines
@echo off
@rem $Id: pdfopt.bat,v 1.2 2000/05/20 20:53:05 lpd Exp $
@rem Convert PDF to "optimized" form.
if "%1"=="" goto usage
if "%2"=="" goto usage
call gssetgs.bat
echo -q -dNODISPLAY -dSAFER >_.at
:cp
if "%3"=="" goto doit
echo %1 >>_.at
shift
goto cp
:doit
%GSC% -q @_.at -- pdfopt.ps %1 %2
goto end
:usage
echo "Usage: pdfopt input.pdf output.pdf"
:end